<template>
    <div>
        {{count}}
        <button @click="handleClick
        ">点击增加</button>
    </div>
</template>
    
<script setup >
import { ref } from 'vue'
//ref 动态响应数据
const count = ref(0)
console.log(count);
const handleClick = () => {
    count.value++
}
</script>
    
<style>

</style>
